<template>
  <div class="main">
    <ShowCom :children="subs"></ShowCom>
  </div>
</template>

<script>
import ShowCom from '@/components/common/ShowCom.vue'
export default {
    name:'User',
    mounted(){
        if(this.$route.params.subs){
            this.subs = JSON.parse(this.$route.params.subs)
        }
    },
    data(){
        return{
            subs:null
        }
    },
    components:{
        ShowCom
    }
}
</script>

<style scoped>
.main{
    height: 100%;
    /* background-color: yellow; */
}
</style>